Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

220
Views
Error de rechazo no controlado: sintaxis de entrada no válida para entero: "viewname"

Tengo un problema con esta vista, funcionaba ayer, pero ahora ni siquiera llega a la siguiente ruta después de todo (por ejemplo, "localhost:3000/todo/new"). mi enlace de github a mi aplicación de prueba es https://github.com/Frosty21/node-Todo

este es el error que sale

 Unhandled rejection error: invalid input syntax for integer: "new" at Connection.parseE (/home/nfroese/lighthouse/Projects/other-test-projects/CRUD/server/node_modules/pg/lib/connection. js:569:11) at Connection.parseMessage (/home/nfroese/lighthouse/Projects/other-test-projects/CRUD/server/node_modules/pg/lib/conne ction.js:396:17) at Socket.<anonymous> (/home/nfroese/lighthouse/Projects/other-test-projects/CRUD/server/node_modules/pg/lib/connection .js:132:22) at emitOne (events.js:96:13) at Socket.emit (events.js:191:7) at readableAddChunk (_stream_readable.js:176:18) at Socket.Readable.push (_stream_readable.js:134:10) at TCP.onread (net.js:563:20)

Actualizar

Resolví el enlace de video del problema a continuación https://youtu.be/WYa47JkZH_U?t=1h15m2s

En la carpeta Rutas todo.js, la ruta GET '/:id' estaba en conflicto con la ruta GET '/new' como estaba arriba y, por lo tanto, iba a '/:id', por lo que mover la ruta '/new' arriba resolvió el problema.

No estaba seguro de cómo pudo representar la vista durante la duración.

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!